problem partitioning